import CommonPanel from './CommonPanel';
import {EnumControlType, ITabsFields} from "@/pages/dv/constants/EnumCommon";

export default class LinePanel extends CommonPanel {

   getPrivatePanes() {
    return [
      {title: '其他', value: 'other', fields: this.otherConfig()},
    ]
  }

  otherConfig(): ITabsFields[]{
    return [
      {
        propType: 'boolean',
        controlType: EnumControlType.Switch,
        formItemProps: {
          name: 'xAxis.sss',
          label: '是否显示x轴',
          valuePropName: 'checked',
          initialValue: true
        },
      },
    ]
  }
}
